using System;
using System.Collections.Generic;
using System.Text;
using MWang.Data.ORM;
using MWang.Data;
using CIM.Model;
using System.Data;

namespace CIM.BLL
{
    public class UrgePay:logiclayer<UrgeInfo>
    {
        public UrgePay(string connstr):base(connstr,false)
        {
        }

        public List<UrgeInfo> getUrgeList(string aid)
        {
            return GetItemsByDataTable(db.Select("select * from " + tableInfo.TableName + " where aid='" + aid + "' order by uid"));
        }
    }
}
